<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html>
<head>
<title>${author}的个人主页- IT答案网</title>
<meta name="keywords" content="${author} 的个人主页" />
<meta name="description" content="${author}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="${path }/css/all.css?version=${version }" rel="stylesheet">
<link href="${path }/css/prettify.css?version=${version }" rel="stylesheet">
</head>
<body onload="prettyPrint()">
	<jsp:include page="../portal/head.jsp"></jsp:include>
	<div class="container container1000">
		<div class="row">
			<div class="span5">
				<h2 class="profile__heading--name">${author}的博客</h2>
			</div>
			<div class="span5">
				总共发表<strong>${page.count }</strong>篇文章
			</div>
		</div>
		<hr />
		<div class="row">
			<div class="span12">
				<table class="table table-bordered table-striped table-condensed">
					<thead>
						<tr>
							<th>标题</th>
							<th>发表时间</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${page.datas }" var="data">
							<tr>
								<td><a
									href="${path }/blog/${fn:replace(fn:substring(data.postTime,0,10),'-','/') }/${data.id }.html"
									title="${data.title }" target="_blank"> ${data.title } </a></td>
								<td>${data.postTime }</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
				<c:set var="params" value="" />
				<%@ include file="../common/pagination.jsp"%>
			</div>
		</div>
	</div>
<script src="${path }/js/all.js?version=${version }"></script>
<script src="${path }/js/code.js?version=${version }"></script>	
</body>
</html>